Automattic\WooCommerce\Admin\Features\Onboarding D

Total Complexity 156
Dependencies 9
Dependents 9
Total lines 1,013
Lines of code 628
Logical lines of code 306
Comment lines 266
Methods 40
Properties 1

Methods 40

Method Rating Maintainability Complexity Lines of code
admin_redirects()
A
50 14 26
send_profile_data()
A
42 11 49
append_product_data()
A
47 11 32
add_help_tab()
A
45 8 39
get_themes()
A
48 8 32
sort_woocommerce_themes()
A
56 8 18
maybe_mark_complete()
A
56 8 17
should_show_profiler()
S
59 8 13
component_settings()
S
51 5 26
reset_extended_task_list()
S
56 5 18
reset_task_list()
S
56 5 18
preload_options()
S
48 3 37
reset_profiler()
S
50 3 30
trigger_profile_completed_action()
S
65 5 9
get_allowed_themes()
S
61 4 11
get_allowed_industries()
S
46 1 47
redirect_wccom_install()
S
63 4 10
track_onboarding_toggle()
S
62 3 12
add_actions()
S
52 2 26
get_allowed_product_types()
S
49 1 34
is_wc_pages()
S
67 3 7
activate_and_install_jetpack_ahead_of_wcpay()
S
68 3 7
redirect_old_onboarding()
S
67 3 7
send_profile_data_on_connect()
S
68 3 7
send_profile_data_on_update()
S
70 3 6
is_running_from_async_action_scheduler()
S
69 3 6
add_filters()
S
60 2 13
remove_install_notice()
S
71 2 6
is_loading()
S
70 2 7
get_instance()
S
71 2 6
add_uploaded_theme_data()
S
66 2 8
__construct()
S
69 2 8
should_show_tasks()
S
77 2 3
preload_settings()
S
77 1 4
delete_themes_transient()
S
80 1 3
has_woocommerce_support()
S
76 1 4
add_preload_endpoints()
S
76 1 4
set_woocommerce_setup_jetpack_opted_in()
S
80 1 3
add_toggle_actions()
S
71 1 5
get_theme_data()
S
64 1 10